# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=py3-retrying
pkgver=1.3.3
pkgrel=3
pkgdesc="General purpose Python3 retrying library"
url="https://github.com/rholder/retrying/releases"
arch="noarch"
license="Apache-2.0"
depends="python3 py3-six"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/rholder/retrying/archive/v$pkgver.tar.gz"
builddir="$srcdir/retrying-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="e053e62cb71b31573b89b8fffa706c3410794b5cced829582c373a09af78158f7a16948e6ce52078589cf7d8f5bba726c889180588a2628be343f242bc40c035  py3-retrying-1.3.3.tar.gz"
